﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="indexTitle" ContentPlaceHolderID="TitleContent" runat="server">
   MVC AutoComplete Textbox Demo
</asp:Content>

<asp:Content ID="indexFeatured" ContentPlaceHolderID="FeaturedContent" runat="server">
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1>Welcome.</h1>
                <h2><%: ViewBag.Message %></h2>
            </hgroup>
            <p>
               MVC AutoComplete Textbox Demo
            </p>
        </div>
    </section>
</asp:Content>

<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
    <h3> MVC AutoComplete Textbox Demo</h3>

    <ol class="round">
        <li class="one">
            <h5>Check models/AccountModels.cs - >  public class City..... </h5>
            <h5>Check models/AccountModels.cs - >  public class RegisterModel..... </h5>
            <h5>Check AccountController.cs - > LookupCity</h5>           
            <h5>Check AccountController.cs - >  public ActionResult JsonRegister(RegisterModel model) </h5>
            <h5>Check Views/Account/RegisterPartial.ascx </h5>
            <h6>In RegisterPartial.ascx -> please change url to your url , right now it is ---> url: "http://localhost:49195/Account/LookupCity", type: "POST", dataType: "json", </h6>
        </li>
     </ol>
       <ol class="round">
                <li class="one">
                    <h2>Now Click Register on top/left...</h2>
                </li>
       </ol>   
    </section>
</asp:Content>
